package com.aaa.fpa.service;

import com.aaa.fpa.dao.UsersDao;
import com.aaa.pojo.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UsersServiceimpl implements  UsersService{
    @Autowired
    private UsersDao usersDao;


/*    @Override
    public void saveusers(Users users) {
    return ;

    }*/

    @Override
    public boolean login(Users users) {
        if(usersDao.login(users) == null){
            return false;
        }else{
            return true;
        }

    }
}
